<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class C_search extends CI_Controller {
	function __construct(){
		parent::__construct();
	}

	/**
	 * Index Page for this controller.
	 */
	public function index(){
		$key = isset($_GET['key']) ? @$_GET['key'] : '';
		$data['product_searched'] = $this->m_public_function->product_searched($key);
		$this->load->vars($data);
		$this->load->view('main/v_search');
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/c_search.php */